<!DOCTYPE html>

<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>个人编辑</title>
    </head>
    <body>

        <h3>编辑</h3>

        <form action="$!{request.contextPath}/user/setting/suibian" method="post">
            <div>登录名:<input type="text" name="username" value="$!{user.username}" disabled > </div>
            <div>昵称:<input type="text" name="nickname" value="$!{user.nickname}"> </div>
            <div>姓名:<input type="text" name="name" value="$!{user.name}"> </div>
            <div>
                性别:
                #if( $user.gender == 'female' )
                    <input type="radio" name="gender" value="female" checked> 靓妹
                #else
                    <input type="radio" name="gender" value="female"> 靓妹
                #end
                #if( $user.gender == 'male' )
                    <input type="radio" name="gender" value="male" checked> 靓仔
                #else
                    <input type="radio" name="gender" value="male" > 靓仔
                #end
            </div>
            <div>出生日期:<input type="date" name="birthdate" value="$!{user.birthdate}"> </div>
            <input type="submit" value="确定">
        </form>

    </body>
</html>